pull: Correctly handle error state when fetching optional data
authorColin Walters <walters@verbum.org>
Tue, 29 Apr 2014 13:02:43 +0000 (09:02 -0400)
committerColin Walters <walters@verbum.org>
Tue, 29 Apr 2014 14:59:57 +0000 (10:59 -0400)
commit7cc4a20f3bb7a02ac3c1e2d9ef1ed0c9fa49b2f6
tree05f4e8d5fcba379f043dff060c137023be3d9a68
parent626fc8519ba6251690c125de1f2a5ffc068550c3
pull: Correctly handle error state when fetching optional data

For the static deltas work, we're using the already-extant internal
API to perform a HTTP fetch for optional data - static deltas are
optional.

Except that we didn't correctly unset the error if we were doing an
optional fetch and the data wasn't found.
src/libostree/ostree-repo-pull.c